package decorateMode.demo02;

/**
 * @author 帅小伙
 * @date 2021/12/27
 * @description
 */
public class Test {

    public static void main(String[] args) {
        Milk milk = new Milk();
        BeverageDecoratorSalt salt = new BeverageDecoratorSalt(milk);
        BeverageDecoratorSugar sugar = new BeverageDecoratorSugar(salt);
        sugar.cost();
        sugar.describe();
    }
}
